package com.qqhf.hitfood;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = "com.qqhf")
@EntityScan(basePackages = "com.qqhf.hitfood.bean.entity")
@MapperScan("com.qqhf.hitfood.mapper")
@EnableCaching
public class HitfoodApplication {

    public static void main(String[] args) {
        SpringApplication.run(HitfoodApplication.class, args);
    }

}
